package projet;

import javax.swing.JLabel;
import javax.swing.SwingConstants;

import java.awt.BorderLayout;
import java.awt.Font;

public class Texte extends JLabel {
		private String text;
		
		public Texte(String texte){
			super(texte);
			this.text=texte;
			this.setFont(new Font("TimesCourier", Font.BOLD, 12));
}
		public Texte(){
			this.text="";
			this.setFont(new Font("TimesCourier", Font.BOLD, 12));
		}
}